<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
  <head>
    <title>-后台</title>
<link rel="shortcut icon" href="image/favicon.ico" type="image/x-icon" />
       <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
       	<link rel="stylesheet" href="<%=basePath%>common/default/default.css" />
	<link rel="stylesheet" href="<%=basePath%>common/plugins/code/prettify.css" />
    <link href="<%=basePath%>common/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
      <link href="<%=basePath%>common/ad/fonts/iconfont.css" rel="stylesheet" type="text/css" />
    <!-- Font Awesome Icons -->
    <link href="<%=basePath%>common/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
    <!-- Theme style -->
    <link href="<%=basePath%>common/dist/css/AdminLTE.min.css" rel="stylesheet" type="text/css" />
    <link href="<%=basePath%>common/dist/css/skins/skin-blue.min.css" rel="stylesheet" type="text/css" />
     <link href="<%=basePath%>common/plugins/datatables/dataTables.bootstrap.css" rel="stylesheet" type="text/css" />
       <link href="<%=basePath%>common/plugins/datetimepicker/css/bootstrap-datetimepicker.min.css" rel="stylesheet" type="text/css" />
     <!-- jQuery 2.1.3 -->
    <script src="<%=basePath%>common/plugins/jQuery/jQuery-2.1.3.min.js"></script>
         <script src="<%=basePath%>common/plugins/datatables/jquery.dataTables.js" type="text/javascript"></script>
    <!-- Bootstrap 3.3.2 JS -->
    <script src="https://code.jquery.com/ui/1.11.1/jquery-ui.min.js" type="text/javascript"></script>
        <script src="<%=basePath%>common/plugins/slimScroll/jquery.slimscroll.min.js" type="text/javascript"></script>
    <!-- FastClick -->
    <script src='<%=basePath%>common/plugins/fastclick/fastclick.min.js'></script>
	<!-- AdminLTE App -->
    <script src="<%=basePath%>common/dist/js/app.min.js" type="text/javascript"></script>
	<!-- AdminLTE for demo purposes -->
    <script src="<%=basePath%>common/dist/js/demo.js" type="text/javascript"></script>
      <!-- Bootstrap 3.3.2 JS -->
    <script src="<%=basePath%>common/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>    
    <!-- jvectormap -->
    <script src="<%=basePath%>common/plugins/jvectormap/jquery-jvectormap-1.2.2.min.js" type="text/javascript"></script>
    <script src="<%=basePath%>common/plugins/jvectormap/jquery-jvectormap-world-mill-en.js" type="text/javascript"></script>
    <!-- datepicker -->
    <script src="<%=basePath%>common/plugins/datepicker/bootstrap-datepicker.js" type="text/javascript"></script>
    <!-- Bootstrap WYSIHTML5 -->
    <script src="<%=basePath%>common/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js" type="text/javascript"></script>
    <script src="<%=basePath%>common/plugins/datatables/dataTables.bootstrap.js" type="text/javascript"></script>
	<script src="<%=basePath%>common/uploadui/jquery.fileupload.js"></script>
	<script src="<%=basePath%>common/plugins/datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
	<script src="<%=basePath%>common/plugins/datetimepicker/locales/bootstrap-datetimepicker.zh-CN.js"></script>
	<script type="text/javascript" src="<%=basePath%>common/bootstrap/js/bootstrap.min.js"></script>
	<script charset="utf-8" src="<%=basePath%>common/lang/kindeditor.js"></script>
	<script charset="utf-8" src="<%=basePath%>common/lang/zh_CN.js"></script>
	<script charset="utf-8" src="<%=basePath%>common/plugins/code/prettify.js"></script>
    	
  </head>
  <body class="skin-blue">
    <div class="wrapper">
      <header class="main-header">
        <a href="<%=basePath%>front/index" class="logo"><b>辽宁商会</b></a>
        <nav class="navbar navbar-static-top" role="navigation">
           <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
            <span class="sr-only">silder</span>
          </a>

        </nav>
      </header>
      <!-- Left side column. contains the logo and sidebar -->
      <aside class="main-sidebar">
        <!-- sidebar: style can be found in sidebar.less -->
        <section class="sidebar">

          <!-- Sidebar user panel (optional) -->
          <div class="user-panel">
         
            <div class="pull-left info">
              <p>管理员</p>
              <!-- Status -->
              <a href="#"><c:if test="${!empty sessionScope.admin}">
                  								 ${sessionScope.admin.userName}
                  						 </c:if><i class="fa fa-circle text-success"></i>在线</a>
            </div>
          </div>
          <!-- Sidebar Menu -->
          <ul class="sidebar-menu">
			<!-- dandy start -->
			<li class="treeview" id="activitys">
              <a href="#"><span>导航栏</span> <i class="fa fa-angle-left pull-right"></i><i class="icon iconfont pull-left">&#xe620;</i></a>
              <ul class="treeview-menu">
              
              <li><a href="<%=basePath%>admin/second"><i class="icon iconfont pull-left">&#xe6af;</i>导航栏管理</a></li>
              </ul>
            </li>
			<li class="treeview" id="activitys">
              <a href="#"><span>首页图片设置</span> <i class="fa fa-angle-left pull-right"></i><i class="icon iconfont pull-left">&#xe620;</i></a>
              <ul class="treeview-menu">
              <li><a href="<%=basePath%>admin/img?type=1"><i class="icon iconfont pull-left">&#xe6af;</i>导航图片管理</a></li>
              <li><a href="<%=basePath%>admin/img?type=5"><i class="icon iconfont pull-left">&#xe6af;</i>商会动态图片管理</a></li>
              <li><a href="<%=basePath%>admin/img?type=2"><i class="icon iconfont pull-left">&#xe6af;</i>二维码图片管理</a></li>
              <li><a href="<%=basePath%>admin/img?type=3"><i class="icon iconfont pull-left">&#xe6af;</i>地图管理</a></li>
              <li><a href="<%=basePath%>admin/img?type=4"><i class="icon iconfont pull-left">&#xe6af;</i>联系方式管理</a></li>
             </ul>
            </li>
            <li class="treeview" id="activitys">
              <a href="#"><span>关于商会</span> <i class="fa fa-angle-left pull-right"></i><i class="icon iconfont pull-left">&#xe620;</i></a>
              <ul class="treeview-menu">
              <li><a href="<%=basePath%>admin/gaikuo"><i class="icon iconfont pull-left">&#xe6af;</i>商会管理</a></li>
              </ul>
            </li>
            
			<!-- dandy end -->
               <li class="treeview" id="jigou">
              <a href="#"><span>新闻中心</span> <i class="fa fa-angle-left pull-right"></i><i class="icon iconfont pull-left">&#xf00b6;</i></a>
              <ul class="treeview-menu">
                <li><a href="<%=basePath%>admin/xinwen"><i class="icon iconfont pull-left">&#xe62f;</i>新闻发布</a></li>
              </ul>
            </li>
             <li class="treeview" id="blockintro">
              <a href="#"><span>入会须知</span> <i class="fa fa-angle-left pull-right"></i><i class="icon iconfont pull-left">&#xe613;</i></a>
              <ul class="treeview-menu">
               
				<li><a href="<%=basePath%>admin/zhibu"><i class="icon iconfont pull-left">&#xe80f;</i>入会管理</a></li>
				<li><a href="<%=basePath%>admin/xiazai"><i class="icon iconfont pull-left">&#xe664;</i>资料管理</a></li>
              </ul>
            </li>
             
 			<li class="treeview" id="ss">
              <a href="#"><span>商会动态</span> <i class="fa fa-angle-left pull-right"></i><i class="icon iconfont pull-left">&#xe60b;</i></a>
              <ul class="treeview-menu">
                <li><a href="<%=basePath%>admin/minxun"><i class="icon iconfont pull-left">&#xe664;</i>动态管理</a></li>
              </ul>
            </li>
            <li class="treeview" id="stystems">
              <a href="#"><span>辽商风采</span> <i class="fa fa-angle-left pull-right"></i><i class="icon iconfont pull-left">&#xe60b;</i></a>
              <ul class="treeview-menu">
                <li><a href="<%=basePath%>admin/fengcai"><i class="icon iconfont pull-left">&#xe664;</i>风采管理</a></li>     
              </ul>
            </li>
            <li class="treeview" id="stystems">
              <a href="#"><span>友情链接</span> <i class="fa fa-angle-left pull-right"></i><i class="icon iconfont pull-left">&#xe60b;</i></a>
              <ul class="treeview-menu">
                <li><a href="<%=basePath%>admin/lianjie"><i class="icon iconfont pull-left">&#xe664;</i>链接管理</a></li>     
              </ul>
            </li>
             
            <li class="treeview" id="stystems">
              <a href="#"><span>问题反馈</span> <i class="fa fa-angle-left pull-right"></i><i class="icon iconfont pull-left">&#xe60b;</i></a>
              <ul class="treeview-menu">
                <li><a href="<%=basePath%>admin/liuyan"><i class="icon iconfont pull-left">&#xe664;</i>问题管理</a></li>     
              </ul>
            </li>
          </ul><!-- /.sidebar-menu -->
        </section>
        <!-- /.sidebar -->
      </aside>

  	<div class="content-wrapper">
  			 <section class="content-header">
          <ol class="breadcrumb">
         
			
          </ol>
        </section>
  		<jsp:include page="${requestScope.page}" flush="true"></jsp:include>
  	</div>
      <!-- Main Footer -->
      <footer class="main-footer">
        <!-- To the right -->
        <div class="pull-right hidden-xs">
        </div>
        <!-- Default to the left --> 
        <strong>Copyright &copy; 2015 <a href="#">道引科技</a>.</strong> All rights reserved.
      </footer>

    </div><!-- ./wrapper -->
    <!-- REQUIRED JS SCRIPTS -->
	<!-- SlimScroll --><!--
	
   <div id="messageModal99" class="modal fade">
		  <div class="modal-dialog">
		    <div class="modal-content">
		      <div class="modal-header">
		        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
		        <h4 class="modal-title">系统提示</h4>
		      </div>
		      <div class="modal-body">
		      	<div><span id="messagespan99"></span></div>
		      </div>
		      <div class="modal-footer">
		        <button type="button" class="btn btn-default" data-dismiss="modal">确定</button>
		      </div>
		    </div> /.modal-content 
		  </div> /.modal-dialog 
		</div> /.modal -->
   
   <script type="text/javascript">
   $("#bt1").click(function(){
	$("#ordersnumber").modal();
	});
	$("#submits").click(function(){
	var a=$("#ordernum").val();
    $.ajax({
    	url:"<%=basePath%>admin/order/OrderByordernum?ordernum="+a,
    	success:function(data){
    	if(data.success==false){		
    		$("#messageModal99").modal();
    		$("#messagespan99").html(data.message);
    		}else{
    		 	location.href="<%=basePath%>admin/order/getOrder?ordernum="+data.message; 
    		}
    	}
    }); 					
});
   </script>
  </body>

</html>